package com.yoj.model.dto.questionsubmit;

import com.yoj.model.dto.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 题目提交查询请求
 * 接收前端传来的参数
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "题目提交查询请求参数")
public class QuestionSubmitQueryRequest extends PageRequest implements Serializable {

    @ApiModelProperty( value = "编程语言")
    private String language;

    @ApiModelProperty( value = "提交状态")
    private Integer status;

    @ApiModelProperty( value = "题目 id")
    private Long questionId;

    @ApiModelProperty(value = "用户 id")
    private Long userId;

    private static final long serialVersionUID = 1L;
}